/**************************************************************************************************************
 * @copyright Copyright (c) 2015—2024 Uniorange Internet Design Co., LTD. All rights reserved.
 * @author Uniorange Internet Design Co., LTD.
 *
 * This file is part of the App project. Copyright © Uniorange Internet Design Co., Ltd. All Rights Reserved.
 * Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential.
 *
 **************************************************************************************************************/
package com.jinyu.core.protocol;

import lombok.Getter;

/**
 * @author 邱金波
 * @version V0.1
 * @className ProtocolTypeEnum
 * @description 协议类型枚举类
 * @date 2024/09/19 13:56
 */
@Getter
public enum ProtocolTypeEnum {
    PING(1, "ping"),
    PONG(2, "pong"),
    REGISTER(3, "register"),
    SUBSCRIBE(4, "subscribe"),
    ;
    private int type;
    private String desc;

    ProtocolTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
